#include "Pickup.h"

Pickup::Pickup(const sf::Vector2f& position, const ItemStack& stack)
: Entity(position, AnimatedSpritePtr()/*GET_ITEM_DATA(stack.getItem()).getSprite()*/)
, stack(stack)
{
    //const ItemData itemData = GET_ITEM_DATA(stack.getItem());
    //image.LoadFromFile();
    //sprite.SetImage(image);
    //sprite.SetPosition(position);
}

Pickup::~Pickup()
{
}

sf::Vector2f Pickup::getPosition() const 
{ 
    return position; 
}

void Pickup::setPosition(const sf::Vector2f& position) 
{ 
    this->position = position; 
}

const ItemStack& Pickup::getStack() const
{
    return stack;
}